package com.hsy.crm.web.mapper;

import com.hsy.crm.web.config.CrmMapper;
import com.hsy.crm.web.domain.entity.StoreProduct;
import com.hsy.crm.web.domain.po.stoneProduct.StoneProductPagePo;
import com.hsy.crm.web.domain.vo.stoneProduct.StoneProductPageVo;

import java.util.List;

public interface StoreProductMapper extends CrmMapper<StoreProduct> {

    List<StoneProductPagePo> page(StoneProductPageVo stoneProductPageVo);

    int add(StoreProduct storeProduct);

    int sub(StoreProduct storeProduct);

    int updatePrice(StoreProduct storeProduct);

    Long selectStoreProduct(StoreProduct storeProduct);

    Long checkStore(StoreProduct storeProduct);
}
